package com.numbfish.start.example;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class PersonController {
    @RequestMapping("/person")
   public Person getPerson(){
       return new  Person("张菲",30);
   }

}
